package com.xhh.nphm.system.service;

import com.xhh.nphm.system.domain.KbmCateM;
import com.xhh.nphm.system.domain.KbmPointM;
import com.xhh.nphm.system.domain.NodeCate;
import com.xhh.nphm.system.mapper.KbmCateMDao;

import java.util.List;
import java.util.Map;

public interface IKbmManageService {

    List<KbmCateM> kbmCateListJson(KbmCateM kbmCate);

    List<Map<String, Object>> kbmPointListJson(KbmPointM kbmPoint);


    List<NodeCate> findCateList();

    KbmCateM findCateById(String codePk);

    KbmPointM findPointById(String pkId);

    int updateKbmPointStatus(KbmPointM kbmPoint);

    int saveKbmPoint(KbmPointM kbmPoint);

    int updateKbmPoint(KbmPointM kbmPoint);

    int kbmPointRemove(String pkId);

    int kbmCateEditSave(KbmCateM kbmCate);

    int selectPointByCodePK(String codePk);

    int selectSonCateByCodePk(String codePk);

    int removeCateByCodePk(String codePk);

    KbmCateM selectCateById(String codePk);

    String checkCodePkUnique(KbmCateM kbmCate);

    String checkSortNameUnique(KbmCateM kbmCate);

    int kbmCateAddSave(KbmCateM kbmCate);
}
